package org.itzheng.yuezhi.constant;

/**
 * Title:<br>
 * Description: <br>
 * Company: <br>
 *
 * @author ZhengYongdong
 * @email ItZheng@ZoHo.com
 * @date 2016/6/24 0024
 */
public class HttpUrl {
    /**
     * mob请求参数:key
     */
    public final static String MOB_API_KEY = "143a0cc4a21c8";
    /**
     * 百度api请求头部:apikey
     */
    public final static String BAIDU_API_KEY = "e7a709fac074baaa1ff8740a69961b10";
    /**
     * mob服务器地址
     */
    private final static String MOB_SERVER = "http://apicloud.mob.com";
    /**
     * 微信分类标题<br/>
     * 参数: key=143a0cc4a21c8
     */
    public final static String WX_ARTICLE_CATEGORY = MOB_SERVER + "/wx/article/category/query";
    /**
     * 根据分类,获取文章列表<br/>
     * 参数:key=143a0cc4a21c8&cid=ff&page=1&size=20
     */
    public final static String WX_ARTICLE_SEARCH = MOB_SERVER + "/wx/article/search";
    /**
     * 百度api的地址
     */
    private final static String BAIDU_SERVER = "http://apis.baidu.com";
    /**
     * 频道新闻
     */
    public final static String CHANNEL_NEWS = BAIDU_SERVER + "/showapi_open_bus/channel_news/channel_news";
    /**
     * 根据分类获取新闻列表
     */
    public final static String SEARCH_NEWS = BAIDU_SERVER + "/showapi_open_bus/channel_news/search_news";

    public final static String WEATHER_QUERY = MOB_SERVER+"/v1/weather/query";
}
